import 'package:flutter/material.dart';

/// FileName public_button_style
///
/// @Author lax
/// @Date 2024/6/18
///
/// @Description

class PublicButtonStyle extends ButtonStyle {
  PublicButtonStyle({
    super.backgroundColor,
    EdgeInsets? padding = const EdgeInsets.symmetric(horizontal: 8),
  }) : super(
          minimumSize: MaterialStateProperty.all(const Size(0, 0)),
          padding: MaterialStateProperty.all(padding ?? EdgeInsets.zero),
          tapTargetSize: MaterialTapTargetSize.shrinkWrap,
        );
}
